<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

<h:head>
	<title>View History</title>
</h:head>
<f:view>
	<body>
		<ui:composition template="../includes/template.xhtml">
			<ui:define name="mainbody">
				<center>

					<h:form>
						<p:spacer height="5" />

						<p:panel header="View History" style="min-height: 550px"
							styleClass="prime_panel">
							<p:spacer height="20" />
							<br />
							 
							<p:tree value="#{historyBean.root}" var="node" id="tree" style="width:98%">  
						    
						        <p:treeNode id="treeNode">  
						            <h:outputText value="#{node}" id="lblNode"/>  
						        </p:treeNode>  
						    </p:tree> 
						</p:panel>
					</h:form>

				</center>
			</ui:define>
		</ui:composition>
	</body>
</f:view>
</html>
